
<form id='addForm'>
    <div class="form-layout form-inline">
        <div class="control-group">
            <label class="control-label c-t-right"><sub class="control-sub">*</sub>环号：</label>
            <div class="control-form">
                <input type="text" class="input-text" name="cid"
                       placeholder="环号" >
            </div>
        </div>
        <div class="control-group">
            <label class="control-label c-t-right">名字：</label>
            <div class="control-form">
                <input type="text" class="input-text" name="name"
                       placeholder="名字" >
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 性别：</label>
            <div class="control-form">
                <div class="cus-sel cus-sel-h33" data-toggle="formSelect">
                    <div class="cus-sel-chosed">
                        <input type="text" name="sex" style="display:none;">
                        <span class="cus-sel-chosed-txt" data-value="">-请选择-</span>
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list" style="display: none;">
                        <ul>
                            <li class="empty-sel"><a href="javascript:;" data-value="">-请选择-</a></li>
                            <li class="empty-sel"><a href="javascript:;" data-value="1">雄</a></li>
                            <li class="empty-sel"><a href="javascript:;" data-value="2">雌</a></li>
                            <li class="empty-sel"><a href="javascript:;" data-value="3">未知</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 羽色：</label>
            <div class="control-form">
                <input type="hidden"  name="color_id" value="">
                <div class="cus-sel cus-sel-h33" id="colorInputSel">
                    <div class="cus-sel-chosed">
                        <input type="text" 
                               name="color" 
                               data-tname="color_id" 
                               class="c-hide" 
                               value="" 
                               placeholder="">
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list c-hide">
                        <ul>
                            <volist name="colorDic" id="vo">
                                <li>
                                    <a href="javascript:;" data-value="{$vo.id}">{$vo.type}</a>
                                </li>
                            </volist>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 眼砂：</label>
            <div class="control-form">
                <input type="hidden"  name="eye_id" value="">
                <div class="cus-sel cus-sel-h33" id="eyeInputSel">
                    <div class="cus-sel-chosed">
                        <input type="text" 
                               name="eye" 
                               data-tname="eye_id" 
                               class="c-hide" 
                               value="" 
                               placeholder="">
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list c-hide">
                        <ul>
                            <volist name="eyeDic" id="vo">
                                <li>
                                    <a href="javascript:;" data-value="{$vo.id}">{$vo.type}</a>
                                </li>
                            </volist>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">血统：</label>
            <div class="control-form">
                <input type="text" class="input-text" name="bloodlines"
                       placeholder="血统" >
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">做育者：</label>
            <div class="control-form">
                <input type="text" class="input-text" name="raiser"
                       placeholder="做育者" >
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">出生日期：</label>
            <div class="control-form">
                <div class="date-wrap">
                    <input id="birthday" 
                           type="text" 
                           name="birthday" value="" 
                           class="date-txt datetimepicker" />
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 状态：</label>
            <div class="control-form">
                <div class="cus-sel cus-sel-h33" data-toggle="formSelect">
                    <div class="cus-sel-chosed">
                        <input type="text" name="sales_status" style="display:none;">
                        <span class="cus-sel-chosed-txt" data-value="">-请选择-</span>
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list" style="display: none;">
                        <ul>
                            <li><a href="javascript:;" data-value="">-请选择-</a></li>
                            <li><a href="javascript:;" data-value="-1">未上架</a></li>
                            <li><a href="javascript:;" data-value="1">展售中</a></li>
                            <li><a href="javascript:;" data-value="2">已出售</a></li>
                            <li><a href="javascript:;" data-value="3">已死亡</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">进货价格（元）：</label>
            <div class="control-form">
                <input type="text" class="input-text" name="price"
                       placeholder="进货价格（元）" >
            </div>
        </div>
    </div>

    <div class="form-layout form-inline">
        <div class="control-group">
            <label class="control-label c-t-right">客户信息：</label>
            <div class="control-form">
                <input type="text" class="input-text-w500 input-text" name="client_info" 
                       placeholder="客户信息" >
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">族谱显示：</label>
            <div class="control-form">
                <input name="pr_type" value="0" type="hidden" />
                <label class="checkbox mr10" t-name="pr_type" data-toggle="checkbox">
                    <input type="checkbox" name="tags">
                    <i class="icon-chkbox"></i>仅输出文字
                </label>
            </div>
        </div>
    </div>

    <div class="form-layout form-inline">

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 父亲：</label>
            <div class="control-form">
                <input type="hidden"  name="father_id" value="">
                <div class="cus-sel cus-sel-w300 cus-sel-h33" id="fatherAddInputSel">
                    <div class="cus-sel-chosed">
                        <input type="text" 
                               name="search" 
                               data-tname="father_id" 
                               class="c-hide" 
                               value="" 
                               data-sex="1,3"
                               placeholder="请输入环号和名字模糊搜索">
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list c-hide">
                        <ul></ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"><sub class="control-sub"></sub> 母亲：</label>
            <div class="control-form">
                <input type="hidden"  name="mother_id" value="">
                <div class="cus-sel cus-sel-w300 cus-sel-h33" id="motherAddInputSel">
                    <div class="cus-sel-chosed">
                        <input type="text" 
                               name="search" 
                               data-tname="mother_id" 
                               class="c-hide" 
                               value="" 
                               data-sex="2,3"
                               placeholder="请输入环号和名字模糊搜索">
                        <span class="jselect-icon"></span>
                    </div>
                    <div class="cus-sel-list c-hide">
                        <ul></ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-layout form-inline">
        <div class="control-group">
            <label class="control-label c-t-right">血统书内容：</label>
            <div class="control-form w500">
                <div class="textarea-wrap">
                    <textarea class="textarea" rows="10" name="bloodlines_cont" placeholder="每次换行为新的一条数据"></textarea>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">备注：</label>
            <div class="control-form w500">
                <div class="textarea-wrap">
                    <textarea class="textarea" rows="10" name="remark" placeholder="请输入备注"></textarea>
                </div>
            </div>
        </div>
    </div>

    <div class="form-layout form-inline">
        <div class="control-group">
            <label class="control-label c-t-right">身形图片：</label>
            <div class="control-form">
                <div class="textarea-wrap">
                    <div class="fileupload-wrap">
                        <input type="hidden" name='body_img'>
                        <span class="upload-img btn-file btn-file-3 fileinput-button">
                            <i class="c-f22" >+</i>
                        </span>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">眼睛图片：</label>
            <div class="control-form">
                <div class="textarea-wrap">
                    <div class="textarea-wrap">
                        <div class="fileupload-wrap">
                            <input type="hidden" name='eye_img'>
                            <span class="upload-img btn-file btn-file-3 fileinput-button">
                                <i class="c-f22" >+</i>
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label c-t-right">血统书图片：</label>
            <div class="control-form">
                <div class="textarea-wrap">
                    <div class="textarea-wrap">
                        <div class="fileupload-wrap">
                            <input type="hidden" name='bloodlines_img'>
                            <span class="upload-img btn-file btn-file-3 fileinput-button">
                                <i class="c-f22" >+</i>
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="c-border-b c-border-d width-100 mtb30"></div>
    <div class="c-t-center mb20">
        <a href="javascript:;" class="submit-btn c-btn c-btn-green mr10">确定保存</a>
        <a href="javascript:;"class="close-btn c-btn c-btn-white">取消</a>
    </div>
</form> 


